Go to Settings → Apps → Default apps, find your preferred app and assign the file extensions you want it to handle. Done in 30 seconds.